We were forgetting to put a space between two numbers
in some cases, confusing the parser.
Test included.
Fixes: #3496
glyphs[i].geometry.x_offset != 0 ||
glyphs[i].geometry.y_offset != 0)
{
- g_string_append_printf (p->str, "%g %g",
+ g_string_append_printf (p->str, " %g %g",
(double) glyphs[i].geometry.x_offset / PANGO_SCALE,
(double) glyphs[i].geometry.y_offset / PANGO_SCALE);
if (!glyphs[i].attr.is_cluster_start)
--- /dev/null
+text {
+ color: rgb(50,50,50);
+ font: "Cantarell 11";
+ glyphs: "N", 430 5, 406 8, 417 7, 772 4, 783 5, 783 5, 793 6 0 0 same-cluster;
+ offset: 0 32.0186;
+}
--- /dev/null
+text {
+ color: rgb(50,50,50);
+ font: "Cantarell 11";
+ glyphs: "N", 430 5, 406 8, 417 7, 772 4, 783 5, 783 5, 793 6 0 0 same-cluster;
+ offset: 0 32.0186;
+}